#include<stdio.h>

int main(){
    int s,m,h;
    printf("输入秒数");
    scanf("%d",&s);
    m=s/60;
    s-=m*60;
    h=m/60;
    m-=h*60;
    printf("%d小时 %d分钟 %d秒",h,m,s);
    return 0;

}